<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=GBK" />
<title>JsCreole Wiki</title>
<link rel="stylesheet" type="text/css" href="jquerycssmenu.css" />
<!--[if lte IE 7]>
<style type="text/css">
html .jquerycssmenu{height: 1%;} /*Holly Hack for IE7 and below*/
</style>
<![endif]-->
<style type="text/css">
 body{
  margin:0;
  padding:25px 5px 30px 5px;
 }
 div#menu{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  background:#ffffff;
 }
 @media screen{
  body>div#menu{
   position: fixed;
  }
 }
 div#footer{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:25px;
  background:#eeeeee;
 }
 @media screen{
  body>div#footer{
   position: fixed;
  }
 }
 * html body{
  overflow:hidden;
 } 
 * html div#content{
  height:100%;
  overflow:auto;
 }
</style>

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="creole.js"></script>
<script type="text/javascript" src="creolewiki.js"></script>
<script type="text/javascript" src="jquerycssmenu.js"></script>
<script type="text/javascript" src="jquery.cookie.js"></script>
	
<script type="text/javascript"><!--
$(document).ready(function() {
	$.ajaxSetup({
	async: false,
	beforeSend: function(xhr){
	    if (xhr.overrideMimeType)
	        xhr.overrideMimeType("text/plain");
	    }
	});

    new CreoleWiki.Site(window.location.href, 
    	    					{iframeAjax: true,
								crlf: true,
								encoding: 'GBK',
								wikiSuffix: '.txt'
								}).start(); 
});

//--></script>
</head>
<body>
<div id="menu"></div>
<div id="content">
	<div id="main"></div>
	<div id="form" class="form" style="display:none;">
		<form>
			<textarea id="input" rows="10" style="width: 97%;">= Hello World</textarea>
		</form>
	</div>
	<div id="appletDiv" style='position:absolute;left:-1px'></div>
</div>
<div id="footer">
	<div style="float: left;">
		<a href="#Special:Home" title="Wiki Home Page">Home</a>
		<a href="#Special:Favorite" title="Favorite List">Favorite</a>
		<a href="#index" title="Wiki Soft Inex Page">Wiki</a>
		<a href="javascript:void(0);" onclick="javascript:CreoleWiki.Favorite.setHome()" title="Set As Home Page">Set Home</a>
		<a href="javascript:void(0);" onclick="javascript:CreoleWiki.Favorite.setFavorite()" title="Set As Favorite">Add Favorite</a>
	</div>
	<div style="float: right;">
		<span class="form" style="display:none;"><a href="javascript:void(0);" onclick="javascript:site.saveWiki();" title="Save Current Wiki">Save</a></span>
		<a href="javascript:void(0);" onclick="javascript:site.loadWiki('wikiConfig', true);$('.form').show();" title="Edit Site Menu And Config">Edit Config</a>
		<a href="javascript:void(0);" onclick="javascript:site.newWiki();" title="Add Or Load An Existing Wiki">New/Load</a>
		<a href="javascript:void(0);" onclick="javascript:$('.form').toggle();" title="Show Edit Form">ToggleEdit</a>
	</div>
	<br style="clear: left"/>
</div>
</body>
</html>